const student = {
  state: {
    user: {},
    token: '',
    title: '',
    showTitle: false,
    share: false
  },
  mutations: {
    SET_STUDENT: (state, user) => {
      state.user = user
    },
    SET_TOKEN_STUDENT: (state, token) => {
      state.token = token
    },
    SET_TITLE_STUDENT: (state, title) => {
      state.title = title
    },
    SET_SHOWTITLE_STUDENT: (state, show) => {
      state.showTitle = show
    },
    SET_SHARE_STUDENT: (state, share) => {
      state.share = share
    }
  }
}

export default student
